-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document how to use the metalk8s-utils
image
#2995
Conversation
Hello nicolast,My role is to assist you with the merge of this Status report is not available. |
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list: |
f84888b
to
eef6b73
Compare
docs/operation/metalk8s-utils.rst
Outdated
To detach, simply exit the shell. Note the :program:`screen` and | ||
:program:`tmux` utilities are installed in the image for terminal multiplexing. | ||
|
||
Finally, when the container is no longer needed, remove the *Pod* using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#. When the container... remove the Pod using...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did try all the described ways to run metalk8s-util pods and all worked fine.
eef6b73
to
6a8509a
Compare
Branches have divergedThis pull request's source branch To avoid any integration risks, please re-synchronize them using one of the
Note: If you choose to rebase, you may have to ask me to rebuild |
6a8509a
to
79dcbbd
Compare
/reset |
Reset completeI have successfully deleted this pull request's integration branches. |
Branches have divergedThis pull request's source branch To avoid any integration risks, please re-synchronize them using one of the
Note: If you choose to rebase, you may have to ask me to rebuild |
Can be useful in long-running troubleshooting sessions...
The `SPHINXOPTS` value was not actually taken from the environment by the `Makefile`, hence the value set in `tox.ini` wasn't really being used at all. Instead, hard-code some basic `SPHINXOPTS` in the `Makefile` (and `make.bat`), ensure `O` is actually passed on through an environment variable, and set a value we actually want to (only) set when running the `docs` Tox target (`-W`, treating warnings as errors) using it.
The `kubectl` package we install in the `metalk8s-utils` image doesn't come with `bash-completion` scripts (unlike `kubernetes-client` on Fedora). Since this is useful to have, we now generate the completions as part of the image build process.
79dcbbd
to
d6935d8
Compare
/reset |
Integration data createdI have created the integration data for the additional destination branches.
The following branches will NOT be impacted:
You can set option
|
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list: |
PID namespace, elevated privileges, mounting host directories as volumes, etc. | ||
|
||
See the ``metalk8s-utils`` | ||
:download:`Dockerfile <../../images/metalk8s-utils/Dockerfile>` for a list of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh neat, didn't realize we could embed files for download 👍
- Adding tolerations for various taints when using `nodeName` | ||
- Mounting a host directory | ||
- Exposing Salt and containerd sockets | ||
- Running a privileged container, exposing the host `/dev` in the container | ||
for `parted` etc. to work |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As a future improvement, we could add example manifests in the ISO for each use case, and let our users kubectl apply
them. Maybe using kustomize
in the mix can help as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I was considering that as well. Someday ;-)
/approve |
Build failedThe build for commit did not succeed in branch w/2.8/improvement/doc-metalk8s-utils. The following options are set: approve |
@bert-e status |
StatusStatus report is not available. The following options are set: approve |
In the queueThe changeset has received all authorizations and has been added to the The changeset will be merged in:
The following branches will NOT be impacted:
There is no action required on your side. You will be notified here once IMPORTANT Please do not attempt to modify this pull request.
If you need this pull request to be removed from the queue, please contact a The following options are set: approve |
I have successfully merged the changeset of this pull request
The following branches have NOT changed:
Please check the status of the associated issue None. Goodbye nicolast. |
We ship a container image with a bunch of utilities that are very useful to troubleshoot a MetalK8s cluster (or Kubernetes cluster in general), but don't really document this.
This is a first shot at describing how to use the image.